package com.itheima.myreggie2.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.myreggie2.dto.DishDto;
import com.itheima.myreggie2.entity.Dish;

public interface IDishService extends IService<Dish> {
    /**
     *  在DishService接口中扩展getByIdWithFlavor方法
     *      根据id查询菜品和对应的口味信息
     */
   DishDto getByIdWithFlavor(Long id);


   //更新菜品信息，更新对应的口味信息
    public void updateWithFlavor(DishDto dishDto);


}
